package com.ruoyi.applet.mapper;

import java.util.List;
import com.ruoyi.applet.domain.SearchHistory;
import org.apache.ibatis.annotations.Param;

/**
 * 搜索历史记录Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-19
 */
public interface SearchHistoryMapper 
{
    List<SearchHistory> selectAllBySearchUsrIdList(@Param("usrId") Long usrId);

    Boolean insertAll(@Param("searchUsrId") Long searchUsrId,@Param("searchText") String searchText);

    Integer selectAllBySearchUsrIdInteger(@Param("searchUsrId") Long searchUsrId,@Param("searchText") String searchText);

    Boolean deleteBySearchUsrIdBoolean(@Param("searchUsrId") Long searchUsrId,@Param("searchId") Long searchId);
}
